﻿using KZ.Express.Resource;

namespace KZ.Express.ENT
{
    public class SequenceENT : EntityBase
    {
        public int SequenceID { get; set; }

        [NotInsertUpdateAttribute]
        public string SequenceName { get; set; }

        public int SequenceNext { get; set; }

        [NotInsertUpdateAttribute]
        public int SequenceLength { get; set; }

        [NotInsertUpdateAttribute]
        public string SequencePrefix { get; set; }

        [NotInsertUpdateAttribute]
        public string SequenceSubfix { get; set; }

        /// <summary>
        /// proc_Sequence_Select
        /// </summary>
        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Sequence_Select"; } }

        /// <summary>
        /// proc_Sequence_Update
        /// </summary>
        [NotInsertUpdate]
        public override string UpdateProcedure { get { return "proc_Sequence_Update"; } }
    }
}